package com.company.bean;

//和数据库的属性值保持一致,可以忽略大小写

import java.util.Date;

/**
 * dbutils的要求：
 */
public class UserInfoBean {
//添加与数据库一一对应的属性
    private  int userID;
    private  String userName;
    private  String userPsw;
    private  String userPhone;
    private Date userRegisterDate;

    public Date getUserRegisterDate() {
        return userRegisterDate;
    }

    public void setUserRegisterDate(Date userRegisterDate) {
        this.userRegisterDate = userRegisterDate;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPsw() {
        return userPsw;
    }

    public void setUserPsw(String userPsw) {
        this.userPsw = userPsw;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    @Override
    public String toString() {
        return "UserInfoBean{" +
                "userID=" + userID +
                ", userName='" + userName + '\'' +
                ", userPsw='" + userPsw + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userRegisterDate=" + userRegisterDate +
                '}';
    }
}
